<?php
if(isset($_POST["dictionary"])){
    file_put_contents("dictionary/dictionary.json",$_POST["dictionary"]);
    echo '成功生成dictionary.json';
}
if(isset($_POST["database"])){
    file_put_contents("database/database.json",$_POST["database"]);
    echo '成功生成database.json';
}
if(isset($_POST["interface"])){
    file_put_contents("interface/interface.json",$_POST["interface"]);
    echo '成功生成interface.json';
}
?>